Error Code: AB1004, Error Message: "Something Went Wrong, Please Try After Sometime"
-
Dear Angel One Support Team,
I am using the Angel One SmartAPI (Python SDK) for fetching historical candle data. However, I am consistently receiving an error for my requests.
Error Code: AB1004
Error Message: [E 260121 09:38:53 smartConnect:246] Error occurred while making a POST request to https://apiconnect.angelone.in/rest/secure/angelbroking/historical/v1/getCandleData. Error: Something Went Wrong, Please Try After Sometime. URL: https://apiconnect.angelone.in/rest/secure/angelbroking/historical/v1/getCandleData, Headers: {'Content-type': 'application/json', 'X-ClientLocalIP': '127.0.0.1', 'X-ClientPublicIP': '106.193.147.98', 'X-MACAddress': 'b8:97:5a:70:4a:fe', 'Accept': 'application/json', 'X-PrivateKey': 'gZXHByr7', 'X-UserType': 'USER', 'X-SourceID': 'WEB'}, Request: {'exchange': 'NSE', 'symboltoken': '99926000', 'interval': 'ONE_MINUTE', 'fromdate': '2026-01-21 09:15', 'todate': '2026-01-21 09:35'}, Response: {'message': 'Something Went Wrong, Please Try After Sometime', 'errorcode': 'AB1004', 'status': False, 'data': None}
Client ID: [S237783]
The session is active, and other APIs are working fine, but the getCandleData endpoint keeps failing with the same error code. I have attached a screenshot of the error log for your reference.
requesting to plz resolve this issue, or tell me how to resolve this issue plz..
[link text]()
Looking forward to a quick resolution.Best regards,
Shankar H